package com.zzx.model;

import java.util.List;

public class Dept {

	private Integer id;
	private String deptName;
	private String deptAddr;
//	private List<Employee> employee;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public String getDeptAddr() {
		return deptAddr;
	}
	public void setDeptAddr(String deptAddr) {
		this.deptAddr = deptAddr;
	}
//	public List<Employee> getEmployee() {
//		return employee;
//	}
//	public void setEmployee(List<Employee> employee) {
//		this.employee = employee;
//	}
	
	@Override
	public String toString() {
		return "Dept [id=" + id + ", deptName=" + deptName + ", deptAddr=" + deptAddr + "]";
	}
	
	public Dept() {
	}
	
	public Dept(Integer id, String deptName, String deptAddr, List<Employee> employee) {
		this.id = id;
		this.deptName = deptName;
		this.deptAddr = deptAddr;
//		this.employee = employee;
	}
	
	
	
}
